package com.javalab._3object_oriented._2extends;

public class Dog extends Pet {
    // 方法重写
    @Override
    public void eat() {
        System.out.println("dog eat");
    }
}
